package com.sukaiyi.generator.actions.model;

import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiDirectory;
import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;

/**
 * @author sukaiyi
 * @date 2019/4/11
 */
public class ActionContext {
    private DataContext dataContext;
    private Project project;
    private PsiDirectory directory;
    private PsiFile file;

    @NotNull
    public DataContext getDataContext() {
        return dataContext;
    }

    public void setDataContext(DataContext dataContext) {
        this.dataContext = dataContext;
    }

    @NotNull
    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    @NotNull
    public PsiDirectory getDirectory() {
        return directory;
    }

    public void setDirectory(PsiDirectory directory) {
        this.directory = directory;
    }

    public PsiFile getFile() {
        return file;
    }

    public void setFile(PsiFile file) {
        this.file = file;
    }
}
